[INFO] cloning repository https://github.com/EricGlover/chess_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EricGlover/chess_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 060b4f43d701d62258994950ac5a15673663c201
[INFO] testing EricGlover/chess_engine against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricGlover%2Fchess_engine" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EricGlover/chess_engine on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/EricGlover/chess_engine
[INFO] finished tweaking git repo https://github.com/EricGlover/chess_engine
[INFO] tweaked toml for git repo https://github.com/EricGlover/chess_engine written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/EricGlover/chess_engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 62f40674972b40d0fea55e29d142826ad793d5cd7ecf7023bf48e64614456bbc
[INFO] running `Command { std: "docker" "start" "-a" "62f40674972b40d0fea55e29d142826ad793d5cd7ecf7023bf48e64614456bbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62f40674972b40d0fea55e29d142826ad793d5cd7ecf7023bf48e64614456bbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62f40674972b40d0fea55e29d142826ad793d5cd7ecf7023bf48e64614456bbc", kill_on_drop: false }`
[INFO] [stdout] 62f40674972b40d0fea55e29d142826ad793d5cd7ecf7023bf48e64614456bbc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4a2f0c563b69487113341ef3ef5ddbca56c91866d1a8b41f659f366db46216f1
[INFO] running `Command { std: "docker" "start" "-a" "4a2f0c563b69487113341ef3ef5ddbca56c91866d1a8b41f659f366db46216f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling string_morph v0.1.0
[INFO] [stderr]    Compiling zeroize v1.2.0
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling unicode_types v0.2.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling terminal_size v0.1.16
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling regex v1.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling console v0.14.1
[INFO] [stderr]    Compiling dialoguer v0.8.0
[INFO] [stderr]    Compiling indicatif v0.15.0
[INFO] [stderr]    Compiling matrix_display v1.0.0
[INFO] [stderr]    Compiling chess_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `ai`
[INFO] [stdout]  --> src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub mod ai;
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `ai`, create file "src/ai.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `castling_rights`
[INFO] [stdout]  --> src/board.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod castling_rights;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `castling_rights`, create file "src/board/castling_rights.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `color`
[INFO] [stdout]  --> src/board.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod color;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `color`, create file "src/board/color.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `coordinate`
[INFO] [stdout]  --> src/board.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod coordinate;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `coordinate`, create file "src/board/coordinate.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `piece`
[INFO] [stdout]  --> src/board.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod piece;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `piece`, create file "src/board/piece.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `piece_type`
[INFO] [stdout]  --> src/board.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod piece_type;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `piece_type`, create file "src/board/piece_type.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `square`
[INFO] [stdout]  --> src/board.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod square;
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `square`, create file "src/board/square.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `castling_rights::CastlingRights`
[INFO] [stdout]   --> src/board.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use castling_rights::CastlingRights;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CastlingRights` in `board::castling_rights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `color::Color`
[INFO] [stdout]   --> src/board.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use color::Color;
[INFO] [stdout]    |         ^^^^^^^^^^^^ no `Color` in `board::color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `piece::Piece`
[INFO] [stdout]   --> src/board.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use piece::Piece;
[INFO] [stdout]    |         ^^^^^^^^^^^^ no `Piece` in `board::piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `piece_type::PieceType`
[INFO] [stdout]   --> src/board.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use piece_type::PieceType;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ no `PieceType` in `board::piece_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `square::Square`
[INFO] [stdout]   --> src/board.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use square::Square;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ no `Square` in `board::square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::ai::evaluator`
[INFO] [stdout]  --> src/game.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::ai::evaluator::evaluate;
[INFO] [stdout]   |                ^^^^^^^^^ could not find `evaluator` in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate`
[INFO] [stdout]  --> src/chess_notation/pgn.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{BoardTrait, Coordinate, PieceType};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                no `Coordinate` in `board`
[INFO] [stdout]   |                                help: a similar name exists in the module (notice the capitalization): `coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate`
[INFO] [stdout]  --> src/hash.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::{BoardTrait, Color, Coordinate, PieceType};
[INFO] [stdout]   |                                       ^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       no `Coordinate` in `board`
[INFO] [stdout]   |                                       help: a similar name exists in the module (notice the capitalization): `coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::board::Coordinate`
[INFO] [stdout]  --> src/move_generator/path.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::Coordinate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^----------
[INFO] [stdout]   |     |             |
[INFO] [stdout]   |     |             help: a similar name exists in the module (notice the capitalization): `coordinate`
[INFO] [stdout]   |     no `Coordinate` in `board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/board.rs:504:38
[INFO] [stdout]     |
[INFO] [stdout] 504 |                 row.push(Square::new(Coordinate::new(x, y), None, color));
[INFO] [stdout]     |                                      ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/chess_notation/fen_reader.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let coordinate = Coordinate::new(x, y);
[INFO] [stdout]     |                              ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/chess_notation/fen_reader.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 178 |         Some(Coordinate::from(parts[3]))
[INFO] [stdout]     |              ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]   --> src/chess_notation.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let to = Coordinate::from(s.as_str());
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ai` in `ai`
[INFO] [stdout]   --> src/game.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             ai: ai::ai::new(Color::Black),
[INFO] [stdout]    |                     ^^ could not find `ai` in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ai` in `ai`
[INFO] [stdout]   --> src/game.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |             ai2: ai::ai::new(Color::White),
[INFO] [stdout]    |                      ^^ could not find `ai` in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `evaluator` in `ai`
[INFO] [stdout]    --> src/game.rs:137:28
[INFO] [stdout]     |
[INFO] [stdout] 137 |             let eval = ai::evaluator::evaluate(&self.board, None, None);
[INFO] [stdout]     |                            ^^^^^^^^^ could not find `evaluator` in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `evaluator` in `ai`
[INFO] [stdout]    --> src/game.rs:153:28
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let eval = ai::evaluator::evaluate(&self.board, None, None);
[INFO] [stdout]     |                            ^^^^^^^^^ could not find `evaluator` in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:129:28
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 let from = Coordinate::new(5, y);
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:130:26
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let to = Coordinate::new(7, y);
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:134:28
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 let from = Coordinate::new(8, y);
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:135:26
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let to = Coordinate::new(6, y);
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:148:28
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 let from = Coordinate::new(5, y);
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 let to = Coordinate::new(3, y);
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:153:28
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 let from = Coordinate::new(1, y);
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate`
[INFO] [stdout]    --> src/move_generator/chess_move.rs:154:26
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 let to = Coordinate::new(4, y);
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:26:43
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait BoardTrait {
[INFO] [stdout]    |                     - help: you might be missing a type parameter: `<Coordinate>`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn en_passant_target(&self) -> Option<Coordinate>;
[INFO] [stdout]    |                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn place_piece(&mut self, piece: Piece, at: &Coordinate);
[INFO] [stdout]    |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn has_piece(&self, at: &Coordinate) -> bool;
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn get_piece_at(&self, at: &Coordinate) -> Option<&Piece>;
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:63:31
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Board {
[INFO] [stdout]    |                 - help: you might be missing a type parameter: `<Coordinate>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |     en_passant_target: Option<Coordinate>,
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:63:31
[INFO] [stdout]    |
[INFO] [stdout] 63 |     en_passant_target: Option<Coordinate>,
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/board.rs:84:43
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl BoardTrait for Board {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<Coordinate>`
[INFO] [stdout] ...
[INFO] [stdout] 84 |     fn en_passant_target(&self) -> Option<Coordinate> {
[INFO] [stdout]    |                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:302:54
[INFO] [stdout]     |
[INFO] [stdout] 302 |     fn place_piece(&mut self, mut piece: Piece, at: &Coordinate) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:313:30
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn has_piece(&self, at: &Coordinate) -> bool {
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:319:33
[INFO] [stdout]     |
[INFO] [stdout] 319 |     fn get_piece_at(&self, at: &Coordinate) -> Option<&Piece> {
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:379:35
[INFO] [stdout]     |
[INFO] [stdout] 372 | impl Board {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Coordinate>`
[INFO] [stdout] ...
[INFO] [stdout] 379 |         en_passant_target: Option<Coordinate>,
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:437:35
[INFO] [stdout]     |
[INFO] [stdout] 437 |     fn move_piece(&mut self, at: &Coordinate, to: &Coordinate) {
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:437:52
[INFO] [stdout]     |
[INFO] [stdout] 437 |     fn move_piece(&mut self, at: &Coordinate, to: &Coordinate) {
[INFO] [stdout]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:445:40
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn remove_piece_at(&mut self, at: &Coordinate) -> Option<Piece> {
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:468:31
[INFO] [stdout]     |
[INFO] [stdout] 468 |     fn get_square(&self, at: &Coordinate) -> &Square {
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/board.rs:475:39
[INFO] [stdout]     |
[INFO] [stdout] 475 |     fn get_square_mut(&mut self, at: &Coordinate) -> &mut Square {
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/chess_notation.rs:18:45
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn parse_move(str: &str) -> (PieceType, Coordinate) {
[INFO] [stdout]    |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ai` in module `ai`
[INFO] [stdout]   --> src/game.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     ai: ai::ai,
[INFO] [stdout]    |             ^^ not found in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ai` in module `ai`
[INFO] [stdout]   --> src/game.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |     ai2: ai::ai,
[INFO] [stdout]    |              ^^ not found in `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]  --> src/move_generator/chess_move.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |         rook_from: Coordinate,
[INFO] [stdout]   |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]  --> src/move_generator/chess_move.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |         rook_to: Coordinate,
[INFO] [stdout]   |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/move_generator/chess_move.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub from: Coordinate,
[INFO] [stdout]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/move_generator/chess_move.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub to: Coordinate,
[INFO] [stdout]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/move_generator/chess_move.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |         from: Coordinate,
[INFO] [stdout]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]   --> src/move_generator/chess_move.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         to: Coordinate,
[INFO] [stdout]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/chess_move.rs:125:11
[INFO] [stdout]     |
[INFO] [stdout] 125 |     ) -> (Coordinate, Coordinate) {
[INFO] [stdout]     |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/chess_move.rs:125:23
[INFO] [stdout]     |
[INFO] [stdout] 125 |     ) -> (Coordinate, Coordinate) {
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/chess_move.rs:144:11
[INFO] [stdout]     |
[INFO] [stdout] 144 |     ) -> (Coordinate, Coordinate) {
[INFO] [stdout]     |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/chess_move.rs:144:23
[INFO] [stdout]     |
[INFO] [stdout] 144 |     ) -> (Coordinate, Coordinate) {
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     from: &Coordinate,
[INFO] [stdout]     |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:138:10
[INFO] [stdout]     |
[INFO] [stdout] 138 |     to: &Coordinate,
[INFO] [stdout]     |          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 156 |     from: &Coordinate,
[INFO] [stdout]     |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:178:33
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn make_moves(path: Vec<Coordinate>, board: &dyn BoardTrait, piece: &Piece) -> Vec<Move> {
[INFO] [stdout]     |                      -          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: you might be missing a type parameter: `<Coordinate>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HIGH_Y` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:323:54
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if (piece.color == Color::White && to.y() == HIGH_Y)
[INFO] [stdout]     |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LOW_Y` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:324:58
[INFO] [stdout]     |
[INFO] [stdout] 324 |             || (piece.color == Color::Black && to.y() == LOW_Y)
[INFO] [stdout]     |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:378:20
[INFO] [stdout]     |
[INFO] [stdout] 378 |             from: &Coordinate,
[INFO] [stdout]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout] 379 |             at: &Coordinate,
[INFO] [stdout]     |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:421:19
[INFO] [stdout]     |
[INFO] [stdout] 420 |     pub fn make_vector_moves(
[INFO] [stdout]     |                             - help: you might be missing a type parameter: `<Coordinate>`
[INFO] [stdout] 421 |         path: Vec<Coordinate>,
[INFO] [stdout]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:489:49
[INFO] [stdout]     |
[INFO] [stdout] 489 | fn square_is_empty(board: &dyn BoardTrait, at: &Coordinate) -> bool {
[INFO] [stdout]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:494:54
[INFO] [stdout]     |
[INFO] [stdout] 494 | fn square_occupiable_by(board: &dyn BoardTrait, at: &Coordinate, color: Color) -> bool {
[INFO] [stdout]     |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:501:49
[INFO] [stdout]     |
[INFO] [stdout] 501 | fn has_enemy_piece(board: &dyn BoardTrait, at: &Coordinate, own_color: Color) -> bool {
[INFO] [stdout]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:510:20
[INFO] [stdout]     |
[INFO] [stdout] 510 | fn is_on_board(c: &Coordinate) -> bool {
[INFO] [stdout]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LOW_X` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:511:14
[INFO] [stdout]     |
[INFO] [stdout] 511 |     c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HIGH_X` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:511:32
[INFO] [stdout]     |
[INFO] [stdout] 511 |     c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LOW_Y` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:511:51
[INFO] [stdout]     |
[INFO] [stdout] 511 |     c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y
[INFO] [stdout]     |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HIGH_Y` in this scope
[INFO] [stdout]    --> src/move_generator/pseudo_legal_move_generator.rs:511:69
[INFO] [stdout]     |
[INFO] [stdout] 511 |     c.x() >= LOW_X && c.x() <= HIGH_X && c.y() >= LOW_Y && c.y() <= HIGH_Y
[INFO] [stdout]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator.rs:315:15
[INFO] [stdout]     |
[INFO] [stdout] 315 |     pub from: Coordinate,
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |     pub to: Coordinate,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator.rs:362:26
[INFO] [stdout]     |
[INFO] [stdout] 358 | struct Pin<'a> {
[INFO] [stdout]     |              - help: you might be missing a type parameter: `, Coordinate`
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub can_move_to: Vec<Coordinate>,
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope
[INFO] [stdout]    --> src/move_generator.rs:370:25
[INFO] [stdout]     |
[INFO] [stdout] 370 |     attack_coordinate: &Coordinate,
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board_console_printer::print_board`
[INFO] [stdout]  --> src/board.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::board_console_printer::print_board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader`
[INFO] [stdout]  --> src/board.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::chess_notation::fen_reader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gen_pseudo_legal_moves`
[INFO] [stdout]   --> src/board.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::move_generator::{gen_pseudo_legal_moves, Move, MoveType};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/board.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]   --> src/board.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::fmt::Formatter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board_console_printer`
[INFO] [stdout]  --> src/chess_notation/fen_reader.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::board_console_printer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board_console_printer::print_board`
[INFO] [stdout]  --> src/chess_notation/fen_reader.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::board_console_printer::print_board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim`
[INFO] [stdout]  --> src/chess_notation/fen_reader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Prefix::Verbatim;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader`
[INFO] [stdout]  --> src/chess_notation/pgn.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::chess_notation::fen_reader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader::make_board`
[INFO] [stdout]  --> src/chess_notation/pgn.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::chess_notation::fen_reader::make_board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::move_generator::Move`
[INFO] [stdout]  --> src/game.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::move_generator::Move;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]  --> src/game.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{DateTime, Local};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::ThreadRng`
[INFO] [stdout]  --> src/hash.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::ThreadRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/hash.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max = (u64::pow(2, 64) - 1);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/hash.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let num = rng.gen_range((0..max));
[INFO] [stdout]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/hash.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut gen = || rng.gen_range((0..u64::MAX));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/hash.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader`
[INFO] [stdout]    --> src/hash.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     use crate::chess_notation::fen_reader;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chess_notation::fen_reader::make_board`
[INFO] [stdout]  --> src/move_generator/pseudo_legal_move_generator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::chess_notation::fen_reader::make_board;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chess_notation::pgn::make_move_log`
[INFO] [stdout]  --> src/move_generator/pseudo_legal_move_generator.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::chess_notation::pgn::make_move_log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]    --> src/board.rs:326:27
[INFO] [stdout]     |
[INFO] [stdout] 326 |         self.find_pieces(|&square| {
[INFO] [stdout]     |                           ^^^^^^^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified
[INFO] [stdout]     |
[INFO] [stdout]     = note: type must be known at this point
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 83 previous errors; 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess_engine`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4a2f0c563b69487113341ef3ef5ddbca56c91866d1a8b41f659f366db46216f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a2f0c563b69487113341ef3ef5ddbca56c91866d1a8b41f659f366db46216f1", kill_on_drop: false }`
[INFO] [stdout] 4a2f0c563b69487113341ef3ef5ddbca56c91866d1a8b41f659f366db46216f1
